package com.tianyang.yukuaifuzs.business.auth.contract;

import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.base.IBaseView;
import com.tianyang.yukuaifuzs.business.main.bean.PosUserOutput;

import java.util.List;

/**
 * Description：商户已拒绝
 * Created by xyj on 2024/3/8
 */
public interface MerchantRefuseContract {

    interface View extends IBaseView<Presenter> {
        /**
         * 显示商户列表
         */
        void showMerchantRefuseListView(List<PosUserOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);

        /**
         * 修改成功
         */
        void showSaveSuccess();
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取商户列表
         */
        void getMerchantRefuseList(int pageNumber, String searchKey);

        /**
         * 修改商户类型
         */
        void saveIdCertTemp(String tel, String merchantType);
    }
}
